package net.zoneland.knowledge.model;

import java.math.BigDecimal;
import java.util.Date;

public class QaBank {
    private String id;

    private String bankId;

    private String category;

    private String level1Title;

    private String level2Title;

    private String level3Title;

    private String question;

    private String targetId;

    private String targetName;

    private String orgDn;

    private String orgName;

    private String orgDeptName;

    private String orgDeptDn;

    private BigDecimal qaSort;

    private String tags;

    private String searchtext;

    private String exactmatch1;

    private String exactmatch2;

    private String exactmatch3;

    private String description;

    private int status;

    private String ansContentName;

    private Date createtime;

    private Date updatetime;

    private String creator;

    private String updater;

    private String userids;

    private String usernames;

    private String deptids;

    private String deptnames;

    private String roleflags;

    private Short showrichtext;

    private Short samerichtext;

    /**
     * 是否显示new图标.
     * 默认不显示
     */
    private boolean showNew = false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId == null ? null : bankId.trim();
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public String getLevel1Title() {
        return level1Title;
    }

    public void setLevel1Title(String level1Title) {
        this.level1Title = level1Title == null ? null : level1Title.trim();
    }

    public String getLevel2Title() {
        return level2Title;
    }

    public void setLevel2Title(String level2Title) {
        this.level2Title = level2Title == null ? null : level2Title.trim();
    }

    public String getLevel3Title() {
        return level3Title;
    }

    public void setLevel3Title(String level3Title) {
        this.level3Title = level3Title == null ? null : level3Title.trim();
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId == null ? null : targetId.trim();
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName == null ? null : targetName.trim();
    }

    public String getOrgDn() {
        return orgDn;
    }

    public void setOrgDn(String orgDn) {
        this.orgDn = orgDn == null ? null : orgDn.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public String getOrgDeptName() {
        return orgDeptName;
    }

    public void setOrgDeptName(String orgDeptName) {
        this.orgDeptName = orgDeptName == null ? null : orgDeptName.trim();
    }

    public String getOrgDeptDn() {
        return orgDeptDn;
    }

    public void setOrgDeptDn(String orgDeptDn) {
        this.orgDeptDn = orgDeptDn == null ? null : orgDeptDn.trim();
    }

    public BigDecimal getQaSort() {
        return qaSort;
    }

    public void setQaSort(BigDecimal qaSort) {
        this.qaSort = qaSort;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public String getSearchtext() {
        return searchtext;
    }

    public void setSearchtext(String searchtext) {
        this.searchtext = searchtext == null ? null : searchtext.trim();
    }

    public String getExactmatch1() {
        return exactmatch1;
    }

    public void setExactmatch1(String exactmatch1) {
        this.exactmatch1 = exactmatch1 == null ? null : exactmatch1.trim();
    }

    public String getExactmatch2() {
        return exactmatch2;
    }

    public void setExactmatch2(String exactmatch2) {
        this.exactmatch2 = exactmatch2 == null ? null : exactmatch2.trim();
    }

    public String getExactmatch3() {
        return exactmatch3;
    }

    public void setExactmatch3(String exactmatch3) {
        this.exactmatch3 = exactmatch3 == null ? null : exactmatch3.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAnsContentName() {
        return ansContentName;
    }

    public void setAnsContentName(String ansContentName) {
        this.ansContentName = ansContentName == null ? null : ansContentName.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater == null ? null : updater.trim();
    }

    public String getUserids() {
        return userids;
    }

    public void setUserids(String userids) {
        this.userids = userids == null ? null : userids.trim();
    }

    public String getUsernames() {
        return usernames;
    }

    public void setUsernames(String usernames) {
        this.usernames = usernames == null ? null : usernames.trim();
    }

    public String getDeptids() {
        return deptids;
    }

    public void setDeptids(String deptids) {
        this.deptids = deptids == null ? null : deptids.trim();
    }

    public String getDeptnames() {
        return deptnames;
    }

    public void setDeptnames(String deptnames) {
        this.deptnames = deptnames == null ? null : deptnames.trim();
    }

    public String getRoleflags() {
        return roleflags;
    }

    public void setRoleflags(String roleflags) {
        this.roleflags = roleflags == null ? null : roleflags.trim();
    }

    public Short getShowrichtext() {
        return showrichtext;
    }

    public void setShowrichtext(Short showrichtext) {
        this.showrichtext = showrichtext;
    }

    public Short getSamerichtext() {
        return samerichtext;
    }

    public void setSamerichtext(Short samerichtext) {
        this.samerichtext = samerichtext;
    }

    /**
     * 获取 是否显示new图标.默认不显示
     *
     * @return showNew 是否显示new图标.默认不显示
     */
    public boolean isShowNew() {
        return this.showNew;
    }

    /**
     * 设置 是否显示new图标.默认不显示
     *
     * @param showNew 是否显示new图标.默认不显示
     */
    public void setShowNew(boolean showNew) {
        this.showNew = showNew;
    }
}